home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_200
/
223_01
/
free.c
< prev
next >
Wrap
Text File
|
1980-01-01
|
640b
|
17 lines
#define NOCCARGC /* no argument count passing */
extern char *zzmem;
/*
** free(ptr) - Free previously allocated memory block.
** Memory must be freed in the reverse order from which
** it was allocated.
** ptr = Value returned by calloc() or malloc().
** Returns ptr if successful or NULL otherwise.
*/
free(ptr) char *ptr; {
return (zzmem = ptr);
}
#asm
cfree equ free
entry cfree
#endasm